package com.ruoyi.courses.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程性质对象 course_nature
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public class CourseNature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程性质ID */
    private Long natureId;

    /** 课程性质名称 */
    @Excel(name = "课程性质名称")
    private String natureName;

    /** 课程性质描述 */
    @Excel(name = "课程性质描述")
    private String description;

    /** 课程信息信息 */
    private List<CourseInfo> courseInfoList;

    public void setNatureId(Long natureId) 
    {
        this.natureId = natureId;
    }

    public Long getNatureId() 
    {
        return natureId;
    }
    public void setNatureName(String natureName) 
    {
        this.natureName = natureName;
    }

    public String getNatureName() 
    {
        return natureName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public List<CourseInfo> getCourseInfoList()
    {
        return courseInfoList;
    }

    public void setCourseInfoList(List<CourseInfo> courseInfoList)
    {
        this.courseInfoList = courseInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("natureId", getNatureId())
            .append("natureName", getNatureName())
            .append("description", getDescription())
            .append("courseInfoList", getCourseInfoList())
            .toString();
    }
}
